package com.atguigu.gmall.search.service;

import com.atguigu.gmall.model.list.Goods;
import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

/**
 * @author dyqstart
 * @create 2021-08-13-23:26
 * @since 1.0.0
 */
public interface SkuEsService {


    void save(Goods goods);

    void deleteById(Long skuId);

    /**
     * 检索服务
     * @param searchParam
     * @return
     */
    SearchResponseVo search(SearchParam searchParam);

    void updateSkuHotScore(Long skuId, Long hotScore);
}
